const Mock = require('mockjs')

const data = Mock.mock({
	'items|25': [{
		'companyId': "@integer(0, 99)",
		'userId': "@integer(0, 99)",
		'companyCity': '@cname',
		'companyInstCode|7': '@integer(0, 9)',
		'companyChineseName|3': '@cname',
		'companyEnglishName|3': '@cname',
		'companyNature|3': '@cname',
		'companyIndustry': '@cname',
		'companyBusiness': '@cname',
		'companyContacts|11': '@integer(0, 9)',
		'companyAddress': '@cname',
		'companyPostcode|6': '@integer(0, 9)',
		'companyPhone|11': '@integer(0, 9)',
		'companyFax|11': '@integer(0, 9)',
		'companyEmail|11': '@integer(0, 9)'
	}]
})

module.exports = [
	{
		url: '/province/filingInfoQuery/getRequiredFilingInfoList',
		type: 'post',
		response: config => {
			return {
				code: 200,
				success: true,
				data: data.items
			}
		}
	}
]
